<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="../css/popup.css">
  <title>Baidu Cleaner</title>
</head>
<body>
  <div class="container">
    <div class="header">
      <!-- <img src="../images/logo.png" class="logo" /> -->
      <h3 class="title">Baidu Cleaner</h3>
    </div>

    <div class="block">
      <div class="title">
        <p class="main">清理瘦身</p>
        <p class="sub">清理百度搜索界面（广告、推荐、热搜等）</p>
      </div>
      <div class="switch-container">
        <p id="cleaner-switch-text" class="switch-text">开启</p>
        <input id="cleaner-switch" type="checkbox" class="switch" />
      </div>
    </div>

    <div class="block">
      <div class="title">
        <p class="main">域名匹配</p>
        <p class="sub">使用百度搜索时仅显示与添加的域名相匹配的搜索结果</p>
      </div>
      <div class="switch-container">
        <p id="domain-switch-text" class="switch-text">开启</p>
        <input id="domain-switch" type="checkbox" class="switch" />
      </div>
      <div id="domain-container" class="domain-container">
        <div id="domain-list" class="domain-list">
          <!-- generated by chrome storage -->
        </div>
        <div class="input">
          <input id="domain-input" type="text" placeholder="输入域名" maxlength="100" class="input-item" />
          <div id="domain-btn" class="btn">添加</div>
        </div>
      </div>
    </div>

    <div class="footer">
      <p>修改配置后，需手动刷新页面</p>
    </div>
  </div>

  <script src="../js/jquery-2.2.4.min.js"></script>
  <script src="../js/popup.js"></script>
</body>
</html>